{template 'common/header'}

<script type="text/javascript" src="resource/js/lib/jquery-1.11.1.min.js"></script>
<ul class="nav nav-tabs">
    <li{if $_GPC['do'] == 'post'} class="active"{/if}><a class="btn-lg" href="{php echo $this->createWebUrl('mobile_code_setting',array('rid'=>$rid,'op'=>'post'))}">手机号管理</a></li>
    <li class="active"><a class="btn-lg" href="{php echo $this->createWebUrl('mobile_code_setting',array('rid'=>$rid,'op'=>'import'))}">导入</a></li>
</ul>
<div class="main">
    <div class="panel panel-info">
        <div class="panel-heading">手机号码导入</div>
        <div class="panel-body">
             <form action="<?php  echo $this->createWebUrl('mobile_code_setting',array('foo' => 'upload','pici'=>$pici,'rid'=>$rid,'op'=>'import'))?>" method="post" class="form-horizontal form" enctype="multipart/form-data" id="form1">
                 <input type="hidden" name="leadExcel" value="true">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">请选择要导入的CSV手机号码</label>
                    <div class="col-sm-9 col-xs-12">   
                      	<input type="file" class=" pull-left btn-primary" name="csv" accept=".csv"><br/>
						<div class="help-block"><a href="../addons/haoman_dpm/xls/code.csv">导入示例点击下载</a>
						</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                    <div class="col-sm-9 col-xs-12">
                         <input type="submit" class="btn pull-left btn-primary span2" value="导入手机号码">
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{template 'common/footer'} 
